package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Buyrecord;
import cn.wolfcode.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IBuyrecordService {
    void save(Buyrecord buyrecord);

    void delete(Long id);

    void update(Buyrecord buyrecord);

    Buyrecord get(Long id);

    List<Buyrecord> list();

    PageInfo query(QueryObject qo);
}
